ThinkPHP5


think\console\command\Help
library\think\console\command\Help.php at line 21

Class Help

Command
└─Help

public class Help
extends Command


Method Summary
protected void

configure()

配置指令

void

setCommand(Command command)

Sets the command.

protected null|int

execute(Input input, Output output)

执行指令

Methods inherited from think\console\Command
__construct, addArgument, addOption, addUsage, configure, execute, getAliases, getConsole, getDefinition, getDescription, getHelp, getName, getNativeDefinition, getProcessedHelp, getSynopsis, getUsages, ignoreValidationErrors, initialize, interact, isEnabled, mergeConsoleDefinition, run, setAliases, setCode, setConsole, setDefinition, setDescription, setHelp, setName

Method Detail

library\think\console\command\Help.php at line 29

configure

protected void configure()

配置指令


library\think\console\command\Help.php at line 50

setCommand

public void setCommand(Command command)

Sets the command.

Parameters:
command - The command to set

library\think\console\command\Help.php at line 58

execute

protected null|int execute(Input input, Output output)

执行指令

Throws:
\LogicException
See Also:
setCode()

ThinkPHP5